package com.account.trand.dto;

/**
 * Created by a on 2017-9-19.
 */

import javax.validation.Valid;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 代扣申请接口
 */
public class WithholdingDTO {
    @NotNull
    @Max(32)
    @Valid
    private String dealsn;
    @NotNull
    @Min(0)
    @Valid
    private Integer thirdNum;
    private Integer outAccountType;
    private Long outAccountId;
    @NotNull
    @Valid
    private Integer inAccountType;
    @NotNull
    @Valid
    private Long inAccountId;
    @NotNull
    @Min(1)
    @Valid
    private Long currentAmount;
    private String remark;

    public String getDealsn() {
        return dealsn;
    }

    public void setDealsn(String dealsn) {
        this.dealsn = dealsn;
    }

    public Integer getThirdNum() {
        return thirdNum;
    }

    public void setThirdNum(Integer thirdNum) {
        this.thirdNum = thirdNum;
    }

    public Integer getOutAccountType() {
        return outAccountType;
    }

    public void setOutAccountType(Integer outAccountType) {
        this.outAccountType = outAccountType;
    }

    public Long getOutAccountId() {
        return outAccountId;
    }

    public void setOutAccountId(Long outAccountId) {
        this.outAccountId = outAccountId;
    }

    public Integer getInAccountType() {
        return inAccountType;
    }

    public void setInAccountType(Integer inAccountType) {
        this.inAccountType = inAccountType;
    }

    public Long getInAccountId() {
        return inAccountId;
    }

    public void setInAccountId(Long inAccountId) {
        this.inAccountId = inAccountId;
    }

    public Long getCurrentAmount() {
        return currentAmount;
    }

    public void setCurrentAmount(Long currentAmount) {
        this.currentAmount = currentAmount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
